Skip to content

Conversation

suhasdeshpande
Copy link
Contributor

  • Fixed verification logic in verify.ts to check event.stepName instead of event.name
  • This resolves the 'Cannot send STEP_FINISHED for step "undefined"' error
  • Updated test expectations to match the corrected behavior
  • Bug was causing second requests to LangGraph agents to fail
  • All integrations correctly use stepName property per official schemas

- Fixed verification logic in verify.ts to check event.stepName instead of event.name
- This resolves the 'Cannot send STEP_FINISHED for step "undefined"' error
- Updated test expectations to match the corrected behavior
- Bug was causing second requests to LangGraph agents to fail
- All integrations correctly use stepName property per official schemas
@suhasdeshpande suhasdeshpande marked this pull request as ready for review July 8, 2025 21:10
@ranst91 ranst91 merged commit af53532 into main Jul 9, 2025
3 checks passed
@ranst91 ranst91 deleted the suhas/cpk-3159-fix-main-and-release-192 branch July 9, 2025 08:28
mattsp1290 pushed a commit to mattsp1290/ag-ui that referenced this pull request Sep 8, 2025
…159-fix-main-and-release-192

Fix step verification bug: use stepName instead of name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants